<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>a标签属性</title>
    <style>
    a{
        text-decoration: none;
        padding: 0 20px;
    }
    </style>
</head>

<body>
    <div>
        <a href="https://www.baidu.com">http协议</a>
        <a href="xdml.png" download='我的xdml'>下载</a>
        <a href="//baidu.com">无协议（遵从当前页面协议）</a>
        <a href="./test1.html">相对路径</a>
        <a href="#https://www.baidu.com">锚点</a>
        <a href="?name=test">?name=test</a>
    </div>
</body>

</html>